package com.lanou.quanttrade.member.mapper;

import com.lanou.quanttrade.member.javabean.Member;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface MemberMapper {
    /**
     * 保存用户名和密码信息
     * @param param
     * @return 保存成功了几条数据
     */
    int saveMemberInfo(@Param("member") Member param);

    /**
     * 根据用户名和密码查询用户信息
     * @param param
     * @return
     */
    Member searchAccountByUserNameAndPassWord(@Param("member") Member param);
}
